home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 58
/
MINAMI58.ISO
/
Varios
/
Juegos Flash
/
Gold Yard.exe
/
scripts
/
DefineSprite_609
/
frame_1
/
DoAction.as
Wrap
Text File
|
2003-04-29
|
638b
|
16 lines
Xincr = 1.125;
Yincr = 0.5625;
var i = 0;
while(i < 20)
{
setProperty("_root.enemy" add i, _visible, 0);
i++;
}
depth = Number(int((Epointery - 15) / 30) - int((Number(Epointerx) + 14) / 30)) + 10;
depthx = Number(Epointery) + Number(Epointerx) - 60;
depthy = Number(Epointery - Epointerx) + 300;
setProperty("_root.enemy" add depth, _X, Number(depthx * (eval("/library:planecellx") / 30)) + Number(eval("/library:planex")));
setProperty("_root.enemy" add depth, _Y, Number(depthy * (eval("/library:planecelly") / 30)) + Number(eval("/library:planey")));
setProperty("/enemy" add depth, _visible, 1);
gotoAndPlay(4);